package edu.nctu.csie.jichang.database.dbinfo;

/**
 * db name
 * @author Jichang
 */
public class LoginInfo {

	private String schema;
	private DataBaseInfo databaseInfo = null;
	
	public LoginInfo(){
	}
	
	public LoginInfo(DataBaseInfo databaseInfo,String schema) {
		this.schema = schema;
		this.databaseInfo = databaseInfo;
	}
	public String getSchema() {
		return schema;
	}
	public void setSchema(String schema) {
		this.schema = schema;
	}
	public DataBaseInfo getDatabaseInfo() {
		return databaseInfo;
	}
	public void setDatabaseInfo(DataBaseInfo databaseInfo) {
		this.databaseInfo = databaseInfo;
	}

	@Override
	public String toString() {
		return "LoginInfo [schema=" + schema + ", databaseInfo=" + databaseInfo + "]";
	}
	
}
